#ifndef ELECFANS_H
#define ELECFANS_H

#include "wiki.h"

class Elecfans : public Wiki
{
public:
    enum Type {
        Search,
        Electron,
    };
    Elecfans(Type type = Search);

    // Wiki interface
public:
    virtual QString name() override;
    virtual QString prefix() override;

    WIKI_AUTOLOAD
    WIKI_USE_URL
    WIKI_FORWARED_CONTENT

    virtual QString content(const QString &text) override;

private:
    Type m_type;
};

#endif // ELECFANS_H
